slab_extend.py has been debugged,works correctly