rewrote entire source tree, faster RSP struct segment access