First secondary root now calculated properly