In recent years, smart charging of electric vehicles has been considered in various scenarios for all parties involved. However, the issue of smart charging is less explored in the parking lot scenario than in other ones, where the number of vehicles is typically greater than the number of charging points. In addition, the charging period is temporary, and modular converters are used to reduce costs in this scenario. In this paper, a modified algorithm is presented to connect each vehicle to the suitable and pursue the desired goals. The effectiveness of the proposed method is evaluated through simulation.