range check on ssao