Why hack "-1" instead of max integer?