added explanation of max-steps calculation