Added threshold to fitted param check