a little bit reduction of space requirement, performance-fix for build function