An output-sensitive algorithm for the minimization of 2-dimensional String Covers