Drop private access specifiers to make them visible to test cases.
if then single line code formatting.
Unit tests for finding Dimensions.