grs1: avoid term_len < 0 for .abs operator 'range'