Added powermin= and powermax= parameters

Issue #174