sample size optimisation start

http://msdn.microsoft.com/en-us/magazine/cc872851.aspx