offset conversion to lines number