removing requirement of squared images