Spaces to tabs in agentPotFields