dealing with unexisting values in feature positions