Warehouse operations are much more complex than when they appear at first glance. Profiling (partitioning) of products and orders leads to a potential multitude of warehouses inside the warehouse. The paper presents an algorithm for increasing storage capacity in modern warehouses.