added TODO and small fix
changed pairwise constraint generation