Program optimization

shape