function ceil(min, step, val) {
	if (val <= min) { return min; }
	return min + Math.ceil((val - min) / step) * step;
}
Get the ceiling for a number {val} with a given floor height {step}
@param {number} min
@param {number} step
@param {number} val