THE END OF THE WHITE DWARF COOLING SEQUENCE IN M4: AN EFFICIENT APPROACH