Would be great to see if your compound calculation you shared actually applied in practice and worked for you :)