First attempt of Min Filtering