Change contants to int, they will be cast to int anyway.