optimized reindex task