totals now update correctly, and bounding box behaves correctly