Univerbation of halver + wege. Here, halver is the genitive of half, and wege is an inflected form of weg.
halverwege