add 1d marginalizations