"Mountain" problem and SquareSolver