Btw I've added [some tests](https://github.com/romainneutron/Imagine/commit/d2f66651d648237c525cdf24b494fb5c409eacf2) at this edge cases