Added pruning.
added raw data support to prune.
index-b: uint8 vectors.