@MjDeck
Thanks a lot for the advice, but I'm afraid my knowledge is very limited, so I can't handle the whole code myself. Maybe you could help redesign it so that all the dimensions fit correctly. Thank you very much in advance