Use reserve to reserve space in list
Do not construct count elements and then appending to them which ends up at coudn 0 and then the things we want.
(cherry picked from commit 77240c7e)
Do not construct count elements and then appending to them which ends up at coudn 0 and then the things we want.
(cherry picked from commit 77240c7e)