extend blocks over gaps