Mane. Changed plane algorithm.