first stab at calculating ContentBlockStart and ContentBlockEnd