optimize after cpuprofile