add ability to switch between swept shape mode