Fix maximum size feature

Signed-off-by: David Goulet <dgoulet@efficios.com>