RVI / fractals algorithms