HOPKINS: Simplify some statements using MIN, MAX and CLIP