Revert "Fixed potential overflow error."

This reverts commit 67182713d96233d3d2feb0f67d39ddaf1789c692.