Flux Consumption Optimization and the Achievement of 1MA Discharge on NSTX