remove frac Prism
update build
remove code duplication