from vallorbe on the french border , to basel west of neuchtel , and on to konstanz and the bodensee , the border was heavily armed with a series of fortifications aimed primarily at choking off the narrow valley passes .