error for expressions that are too large. fixes #2239