Fix sample to continous.
Fix range