added skipping of self edges to piecewise executor