Fixed a bug in SbS error calculation for beta/alfa in the segment case