The algorithm for managing the current assets of machine-building companies and the main tools