Check boundary to expand or shrink a span explicitly.