[algorithms][kashish] adding status constraints