fix MongoDB big array insertion performance bug