Converted Pool.starmap() to Pool.map() for Python2 compatibility