commiting recurisive region growing