Finished doubling formula for now