adjust block sizes to take vertical space