The best ar stock adapter would probably be the Angry Gun one for your use if you want to rear wire it with an ar stock.
http://mach1airsoft.com/product/angr...ter-for-wevfc/
If you do it the way lurkingknight said, and use a buffer tube for a battery you should have no problems. This will give you the same amount of room as an M4 has.