Thank you @Xfire ans @jstap. Will read up about the algorithm and circle back if I still have any queries.