Factors related to migration flow to neighboring countries