checkStDists tweak