test sphere dist transformation