sceRefs reading algorithm modified