Made sampling radius modifiable