Implement CPU version of building.