Note The mixture of head stuff can be done by leveraging the categorical distribution and gumble max.