organizing avgStim stuff as legacy_AvgStim