Rectangle, add getSize and small changes