fix a bug and change vector style in BoundingBox from .x.y.z to array[3]