High molecular weight polyanhydride and preparation thereof