New way to determine sample points