How did the Louisiana purchase affect the Louisiana territory?