add strategies
fix the issue with memoization
Add strategies for big input