added a threshold for band pruning