Added AxisAlignedBB and packet optimizations