I see, you have these assertions to make debugging easier. Well, since they get stripped out anyway, I think there is no harm in keeping them.