Optimize join on source