added perpixel check and shouldBeFoundObjects check