Added code for mid point node creation in void refineEdge().