using malloc instead of calloc for bisect fracture