remapcon function

First order conservative remapping