Apply suggested changes to pebbling part