uses bounding box while vertical aligning