moved garbage package, fixed overflow detection, build for iOS