replaced clone_bytes() by clalloc()