Global optimization does not crash anymore if there are no connected
tiles