Removed almost all floating point math