Implemented in C. Still need to add support so that slab overlappers are checked for collision in all slabs