Space searching algorithms used by cells in confined micro-environments