Tennis Necklaces

[profiler]
Memory usage: real: 14680064, emalloc: 19024936
Code ProfilerTimeCntEmallocRealMem