Removing unneeded division checking code