huge problems with current planarity library