Added threshold to assigner