IT IS WORKING, STOPID integer casting

We worked 4 hours to see that we casted an long long to int