Find maxima, cell boundaries