use GRIDDIM in traits again