remade gravity constraints