first stab at segmenting blocks