Finished dilation layer, but not tested