Surprising history of masonic buildings