What is the role of placement of a mesh during hernia repair?