Validates sample and step sizes