This is needed to avoid overhead that results from calling the constructor during calls to LocalVector.resize()