Changed first iteration of sampling process.