testing dwnsample -- need to rethink tri_sqr still