I think I may have solved the nesting grid problem