Adding AABB mask