Algo works
test sparse too