fix gridsize documentation
gridsize signature update in patchlib
adding foreclib support in vol2lib