changed the warpings generation. Now only non-zero regions are output