fixed bug with gaps. start gaps are computed correctly now
fixed semiglobal
the same condition, shorter
all lines are shown, including end gaps