make aggregration level user-selectable.
correct width for pixmap
use iterator.