rework index pruning