methodPool: compile methods on-demand