Error corrected with FEN parsing: keys of map weren't sorted.