Changed segments to use set indices, and commented out vm_fault