k-star algo and onwards TBD