extracted debug geometry generation from BFS method

added transformation to move branches of unfold to horizontal plane at slightly random positions and then start moving them apart until intersections are 0