add square-subsequences