Resurrect slow code that prevents Mac from crashing.

Sigh, mesh code...