Pre-size array when building values