Adjusting width and number of blocks