Fix of bad assumption that arrays with trees' errors are of the same
size.
Assertion refined (for EC2 testing)