[mod] remove float calculations