Hopefully fixing interp of z.