Removed inline on clamp_*  and dbn inner loop function