Arrange buttons packing