Improve the contigmalloc() memory allocator. Fix a starting index bug,