[dist] custom attributes + better interpolation over array