redtest better identity resolution
optimizing chains of less thans