optimized testing, thinking of weights