Added documentation for getSpaceSize