Using Jordans functionality to decide the clip value range