Added possibility of applying cuts only every n nodes