add in fst for rebuild and prime rebuilder