fix buildindex using old kd indexer