Can not swap tokens that will charge fee on the Pancake

hello there , i have a token whit 10% fee and that need to 5% for liquidity pool automatic , 2% bnb automaticly gose for holders every week and 3% auto bnb for dev fee
i dont know whats wrong in our code thats not working , transaction cant be done and error gas i think , then second one cant be sell buy in panckakeswap , any of can help and check whats going on in our code pls 0x7a86B2fB092e63E02440b69533AB6d54c272E232 this was the contract for test and if anyone can help pls check the contract here