Initializing width and height instance variables
Removed unused constants
Removed duplicate initialization from parent class
Removed unneeded calculations