Optimize TessellateModifier.js slightly

`.distanceTo()` -> `distanceToSquared()`