change MAX_NUM_TRAINING_DATA from 250000 to 20000