Fixed a little bug. Added a default dimension for a board if dimension not present in input.