Automatic building