versions not using filter

1. comment median filter code
2. add median reducing code