fixed checks in python, increased sample size