Add brick intersection checking