use byteslice instead of slice in fragment_for