Recalculate width and height after writing into program
stylez