You're right. But I'd still prefer much prefer do this frequency tweaking in emitNode() instead of here.  Then we're only modifying it in one place.