Inner product in MBSP model