REF: removed duplication of code. Now using "counting_z_plane" by default because faster and less confusing for the user
REF: minor change