Update fastSample and PThread methods