Malachite balls on matrix with min