Removed unnecessary casts from divisions