pub fn write_boundaries( layout: &StartposLayout, plan: &CaiPlan, ) -> Result<RecordNode>
Writes the region boundaries list.
Returns an error if the layout lacks the records.