From Middle English merestake, equivalent to mere (“boundary”) + stake.
merestake (plural merestakes)