Passable probability mass function implementation.