Bilateral smoothing: modify ranges of sliders to prevent overflow errors

Relates to #138.

Thanks to @audioglider for his help with this.