after a lot of hell and pain and collisions and problems, i have finally solved it for the first time this is just an initial solve though, so expect my cost solution to be a lot better than this