Laying groundwork for AABB collision