use constant for maxSize here. it also helps to break down how much in KB this number represents.