delete n nodes after m