Relative sizes of the largest bodies during the accumulation of planets