Removed redundant addition after doubling.