Effects of spatially engineered Dzyaloshinskii-Moriya interaction in ferromagnetic films