Implements permastruct building.