using sampled visible units instead of raw