improve computation

dont convert to double for calculation