Implementing a more precise mapping between samples and bins.
Forgot that the Observation object stores the padding.
Finished this small refactoring.
Using the padded nrSamplesPerBin.
There was a mistake in the allocation of counters memory, twice the
memory was allocated for no apparent reason.