optimize a littel bit CPU waste of time with MODE=LEARNING