debug constructor, pop & sample size working again