Pruning of the code