(n + k) patterns fix