Modified clustering algorithm to use persistent clusters instead of recalculating cluster map