sweep size to int