added julia pca
avoid gc on bufio writer