use quicker triple_spline and partial_size implementation
use a simple dist instead of norm