deleted xalloc() and optimized buddy module