bugfix: max pooling was skipped with legal configurations