Fixed max and min lengths pointing to wrong constructors