costas tested :(
all-intervals tested also :(