Compression ratio of Wiener index in 2-d rectangular and polygonal lattices