Move sample and step sizes validation