Added doubleBasisConstruction.