builder optimization