(regesm) : fix minor bug in generation of mask for unmapped regions