sweep size to int
Merge branch 'master' into scala-2.9.2