write ply 200x faster