stream: use signed integers for division.