Deducting SIP Amount directly from Bank

What if I scheduled an SIP for 10000 for 4 different funds and I have only 3000 in my trading account? How will the 3000 be distributed among my funds?