size of generated object is now configurable