Adding boundary removal function for delta watershed scheme