Board hamming + manhattan