fix P0 continuous space (case using trace mesh for example)
possiblity to use another range