kind a 3d grid solved properly withou integral etc