zink: use primconvert to get rid of 8-bit indices