Streamline ImageSlice2d constructor