finds limits and centers self