build-thread