fixed some import issues

switching scaffold parity broke isSegmentStartOrEnd and is3primeXover
methods in legacydecoder.