add board hash code