Aperture shape optimization for IMRT treatment planning