[PLAT-4961] Corrected constructor to use leg stub and compounding period stub.