Further increase the calculation speed for n = odd.