constructor with just population, getDimensions method