Added some consts to check assumptions.