An intuitive implementation of watershed simulation