fix crash bug when non-quad boundary face exists.