generate_fragments can now use empirical model