latest implementation of dijet selection