correct realloc(), add calloc(), avoid calculate like 'mod' 'multi' and 'div'