without this restriction the resulting image could be too smooth