load grid with diff dim

now working if the loaded grid has different dimensions