About the Calabi problem: a finite dimensional approach