ialloc and balloc completed in util.c