trying another plane algo