Merge "Initialize the branches list with the right size"