Removed AllocBlock function
Must Rewrite due to recalculation