Add logic for increase machine or decrease machine by min_machine_size,
max_machine_size