Kasi's Algo finalized.