Move assert to deeping in code