A picture might help, because I'm probably imagining this way wrong. But a couple ideas do come to mind. If the T is too large, hacksaw 1/4" off the ends to make it a smaller T. Also instead of regular 90's, use street 90's, you'll save on a lot of space with those. (For example:
http://www.bulkreefsupply.com/Plumbi..._23/index.html ) Good luck!