ast_calloc, instead of malloc and memset