Works, still too slow