Make region embedding actually work