fixed mem computation