Booth folding encoding for high performance squarer circuits