resolutions of a coherent sheaf