reconstruction finished, mostly tested.

mostly tested, for accurate testing visualization required. to test:
returned graph. rest works.