fixed memory usage calculator dimension