.resample.cgr extended to 3+ levels