Added kernel for expanding images