Remove late check for vector sizes of histograms.

This is done upon initialization.
Introduce sampling of expressions only if not yet sampled.