Isn't it better to assign node.value.ticks once?
node.value.ticks = if (pastExec && isCurrent) offset - WheelSize else offset