Refacoty lots for switch engine dynamically.