States are waking up to the problem of the border.