fixed bug in prunning
partial PrintCircuit split

- not yet finished (but unused now)