Added Length pruning