added sampling step estimation