Fix to: addUpdateMeshTaskWithEdge

Check in all 6 directions instead of just 3.