Allowed for larger matrices