Added maputils to map rep and stitching, line equations of segment lines computed before passing