marginalize over tub