As the immigration wave tolls in the world, especially in Europe, Hungary has decided to build a fence around the borders of the country to stop migrants from entering the country. Hungary’s parliament has beefed up the country’s asylum legislation, paving the way for a border fence to prevent the flow of migrants into the EU member state, Euronews reported. The four-meter high fence stretching along the 175 kilometer border with Serbia has been criticized by Hungary’s neighbors, human rights groups and the European Union. The updated legislation will also allow Hungary reject asylum claims from people travelling from Syria, Iraq or Afghanistan through other so-called safe countries without asking for asylum there. Hungary’s right-wing Prime Minister Viktor Orban said his country needed to be protected from a tide of migrants crossing its border with Serbia.