readded modifactions removed in commit 3491de31281950909269a048d855d0680e568e16, but protected with flag whose default is false, if true torus lies in xz plane