Thinkning of using calloc instead of malloc and generate to improve speed, program taking too long