assemble optimized