float2int must really return int or some of my bots wont work anymore