fix the problem about the size of s
Merge pull request #6 from JulienMasson/master

fix the problem about the size of s