Organization and documentation of block_sgelection