Using algorithms for mobile data pricing