adjustable grid to accomodate different board dimensions