Mongoose Limit Array Size Python Idle