Change algorithm of sonar rendering