Algorithm compiles, need to test now.