update gravity method and put seed merge after grid agglomeration. v2.2 deprecated