Calculates longest path between pieces whenever a new one is placed down. Besides polish, this is pretty much it for this branch's game type.