Abrupt autofocusing beam from a phase-only mask