correct GapClose (passes the former comented test)