space = width * height;