building scanmatcher and resampler from configuration