Even simpler code thanks to IntStreams.