cfract() using memory