JDK 8 Stream.
Make sure we set the slice at the right time.
Minor micro-optimization.