old algorithm tests are passing with new one