Fixed bug in Points.resize method