in

He created all that to have his piece of cake at the excellent time : previous

He built all that to have his piece of cake at the perfect time

He crafted all that to have his piece of cake at the excellent time – the latest