bug fix with how subsampling was being done wrong!