add code to use an exact distribution instead of an alignment