Implement boundary_checker and follow helpers for geometry collection. They are commented-out for now because they are not used anywhere. The code is there in case they were needed in the future.