opt build order