removed build dir, uses index min instead