support normal space and tori in phases.sh