Use & operator for array in resize definition