The Swift compiler doesn't like clunky one-liners. I broke a line into three and saved 20+ seconds of build time. It's for the best because this is too much for one line:

  1. max() of two CGFloat
  2. nil coalesce
  3. divide
  4. multiply
  5. cast to Double
  6. min()
  7. nil coalesce