find left and right-hand limits

Top