Assert if any of the multiplications, which are then used to allocate memory, would overflow. Closes: #91