pub fn build_steps(chain: Vec<BigUint>) -> Result<Vec<Step>, Error>
Converts an addition chain into a series of steps.