Reduced memory footprint by freeing the int board during conversion to graph.