optimize heur-3 and Leg now contains pips data.