Minor optimization when checking length
Add initial build process