This part is just for reference so you can see my first stab at a heuristic for it.