Trim rangemap lines.