refactor: simplify build by using hsp.process()
build: several build simplifications