moving more work (like string construction) to MinimizeThread()