Added conservative resizing and reset method