Tennis Necklaces

[profiler]
Memory usage: real: 10485760, emalloc: 19023296
Code ProfilerTimeCntEmallocRealMem