I did exactly like this in an HP Slim Desktop and it was the best way. Was a bit tight fitting all that extra wire and plugs in but it did fit. And if you are good with a soldering iron, you can customize them to be whatever size you need if the extra wire is a problem.