V0.1.3, fewer temp arrays