to be removed (cf above)
You'd have to store the Nx, Ny and Size parameter in class members