#69 rebuild scales only when equation changes, otherwise update counts for each scale