Version presented at SIBGRAPI 2014