IQS_algorithm
tests
