Refactorization of vs_regions in vm_space as a red-black tree