From Chinese 限 (MC heanX, “line, boundary”), considering also that, inversely, مُل (mul, “coastline”) is from a Dravidian term for an “angle or point of compass”. Perhaps later understood as related to خَان (ḵān), خَانَة (ḵāna, “space into which something is fitted”).