The algorithm of approximate perching point selection