add simple flat area fill based on scikits-image erosion algorithm