Tennis Necklaces

[profiler]
Memory usage: real: 8388608, emalloc: 18238496
Code ProfilerTimeCntEmallocRealMem