Getting device size more exactly