add minage keyword
use hmin and hmax everywhere relevant, rather than RC hardcoded values
add jkmin keyword