max combinations
max combinations
debugging calc