use Options parameter for window range
set diameter to not bigger than number of z-slices
generate sequence of options with decreasing window ranges