[set ops] remove #ifdef/#endif block used for debugging
[set ops] polish/simplify follow L/L code; change some vairable names that are confusing;