add block resizing