generate pathensis stack