Refactoring
Refactored
+ vectorInCube