remove unnecessary rect object creation, cleaner rect init