Deleted unnessesary package.
Fixed overflow checking.