Added assertion for error raising when we exceed the limit