removed dynamic memory allocation in split with on the fly split