This is the type of challenge that I have tackled many times in my career whilst at therefore and before, while shoehorning electronics into ever smaller products.