remove downsampling from ZenUI and move to graph library