getDimension() for aabb, tabs2spaces