Tennis Necklaces

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