build file for single optimization