Changes some maths to make the textFields the right length