compute last line in initialize