Surely 3 x 2 is all we need? As the 3 blocks could be rail, empty, rail with the empty in the middle having torches periodically to stop mobs spawning. Unless you need more room for the rails then guess 5 wide would be needed.
Sorry if I'm being dumb here but thinking about it, I suppose we should dig it properly from the beginning.