it is possible we will be stuck with custom implementation due to `setMax` functionality but maybe we will find some nice workaround