#Cws algorithm
grunt