rename resize to sizehint, remove constructors with size hint arguments