Added statistics about wasted samples.