OBB calculation fixed.