You can remove this call if you keep the surface normal stored in `n1`. The store `n2 = p + maxHeight * n1` in `positions` and then store `n2 = p + minHeight * n1` in `positions`.