added text-shape-pixels template; improved fft template performance