adjusted bounding box creation for prototypes