Divide build in 2 steps