You're welcome.

I made a small typo, I meant:

Code
var LowerThreshold = optimize(90,45,135,9);