The first three dimension are x,y,z