Before fixing, check my big comment regarding this bounding box computation. Maybe you will fix it with that comment.

Else: since you use this constructor, and then assign it 10 latter on, I would simply call

m_dims(3, 10). But, in fact, I would set it to 0, not 10, because there is no real reason to use 10.