Migrate over slackRatio to vendored helper