fixed the segcachemapper so that it correctly creates 2 segments