HS algorithm works now.