Made some changes to blur due to memory constraints.