refactor new cube builder
refactor job build process
fix bug