clamp s2 levels to 0->maxlevel