Floodfillable movement calculation