Modify dilation fucntion to use processing chain