updated slice sampling