Whose 1704 plan was used to fortified the city