implemented (not tested) partial increment function
commented out pincrement use as it does not seem to improvethings, at
least for smaller graphs