Added foreground/background reconstruction code