This already will be handled - try passing `imgmax` as option.
There is no need in taking new argument to method