improved performance of face sorting (runs a lot faster now)
improved handling of #bcs mismatch