Rewrited malloc()