Shell and space-truncation effects in calculations of the effective mass