Thread:Campinator/@comment-27219153-20170113230759/@comment-25330335-20170116211810

I'm hoping that there is a nicer algorithm than this to accomplish this task.