changed dimensions of new gradient