Pruning to satisfy neighbour

Pruning to satisfy neighbour