Fix for APLOD failing with default blocklength. Setting the blocklength to the number of elements in PG