Moved integer math to core/util.go