plot step condition improvement