Solved speed issue by profiling