better array support for adiabatic grid
extra free-ing, just to be sure