contiguous blocks bugfix