increasing: return start and end indexes
encode-decode: error in encode fixed (empty string)