Optimizing formation of internal model