Mixed Branes Interaction in Compact Spacetime